package ar.com.fiuba.ElectronicCircuitAnalyst.application.api;

/**
 * Data transfer object for a circuit connection. It holds:
 * 
 * @param startLead
 *            the starting end.
 * 
 * @param endLead
 *            the ending... end.
 * 
 */
public class ConnectionDto {

	private LeadDto startLead;

	private LeadDto endLead;
	
	public ConnectionDto() {
	}

	public ConnectionDto(LeadDto startLead, LeadDto endLead) {
		this.startLead = startLead;
		this.endLead = endLead;
	}

	public LeadDto getStartLead() {
		return startLead;
	}

	public void setStartLead(LeadDto startLead) {
		this.startLead = startLead;
	}

	public LeadDto getEndLead() {
		return endLead;
	}

	public void setEndLead(LeadDto endLead) {
		this.endLead = endLead;
	}
}
